import request from '@/utils/request'

// 查询账号管理列表
export function listDealBankAccount(query) {
  return request({
    url: '/bankAccount/dealBankAccount/list',
    method: 'get',
    params: query
  })
}

// 查询账号管理详细
export function getDealBankAccount(id) {
  return request({
    url: '/bankAccount/dealBankAccount/' + id,
    method: 'get'
  })
}

// 保存账号管理
export function saveDealBankAccount(data) {
  return request({
    url: '/bankAccount/dealBankAccount/save',
    method: 'post',
    data: data
  })
}

// 删除账号管理
export function delDealBankAccount(id) {
  return request({
    url: '/bankAccount/dealBankAccount/' + id,
    method: 'delete'
  })
}

// 导出账号管理
export function exportDealBankAccount(query) {
  return request({
    url: '/bankAccount/dealBankAccount/export',
    method: 'get',
    params: query
  })
}
